/* Layout */
import Layout from '@/layout'

const menuRouter = {
  path: '/upms',
  component: Layout,
  redirect: '',
  name: '用户统一中心',
  meta: {
    title: '用户统一中心',
    icon: 'nested'
  },
  children:[
    {
      path: '用户管理',
      name: 'user',
      component: () => import('@/views/upms/user/index'),
      meta: { title: '用户管理' }
    }
    ,  {
      path: '/role',
      name: '角色管理',
      component: () => import('@/views/upms/role/index'),
      meta: { title: '角色管理' }
    }
    ,  {
      path: '/permission',
      name: '权限管理',
      component: () => import('@/views/upms/permission/index'),
      meta: { title: '权限管理' }
    }

 /*   ,  {
      path: '/organization',
      name: '组织管理',
      component: () => import('@/views/upms/organization/index'),
      meta: { title: '组织管理' }
    }
    ,  {
      path: '用户管理',
      name: 'user',
      component: () => import('@/views/upms/user/index'),
      meta: { title: '用户管理' }
    }
    ,  {
      path: '数据字典管理',
      name: 'user',
      component: () => import('@/views/upms/user/index'),
      meta: { title: '用户管理' }
    }*/
  ]
}


export default menuRouter
